class CreateGeneralSettings < ActiveRecord::Migration
  def self.up
    create_table :general_settings do |t|
      t.string :org_name, :null => false
      t.string :org_tagline
      t.string :org_address
      t.string :org_city
      t.string :org_state
      t.string :org_pincode
      t.integer :org_country
      t.integer :org_timezone
      t.integer :org_dateformat
      t.integer :org_timeformat #7:30pm
      t.string :org_calendar #YYYYYYN
      t.timestamps
    end
  end

  def self.down
    drop_table :general_settings
  end
end
